package com.crm.service;

import com.crm.domain.dto.ContractDto;
import com.crm.domain.dto.ReportDto;
import com.crm.domain.entity.Activity;
import com.crm.domain.entity.Chll;
import com.crm.domain.entity.Report;
import com.crm.domain.entity.ReportContract;
import com.crm.domain.vo.DataVO;
import com.crm.domain.vo.LineChartVO;
import com.crm.domain.vo.OneVO;
import com.crm.domain.vo.RowsVO;


public interface ReportService   {

    RowsVO<Report> select(ReportDto dto);

    OneVO getVulnerabilityMap(String beginCreateTime, String endCreateTime);

    DataVO subjectStatistics(String beginCreateTime, String endCreateTime);

    LineChartVO cluesStatistics(String beginCreateTime, String endCreateTime);

    RowsVO<ReportContract> selectContract(ContractDto dto);

    LineChartVO contractStatistics(String beginCreateTime, String endCreateTime);

    /**
     * 销售统计折线图
     * @param beginCreateTime
     * @param endCreateTime
     * @return
     */
    LineChartVO salesStatistics(String beginCreateTime, String endCreateTime);

    RowsVO<Chll> selectActive(Chll dto);
}
